//
//  ReturnCell.m
//  SHPE CC
//
//  Created by Alex Muller on 3/23/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import "ReturnCell.h"


@implementation ReturnCell

@synthesize returnCell;

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {        
        returnCell = [[UILabel alloc] init];
        [self.contentView addSubview:returnCell];
        returnCell.text = @"Return to Selections";
        returnCell.textColor = [UIColor whiteColor];
        returnCell.backgroundColor = [UIColor clearColor];
    }
    return self;
}


- (void)layoutSubviews {
    
    [super layoutSubviews];
    CGRect contentRect = self.contentView.bounds;
    CGFloat boundsX = contentRect.origin.x;
    CGRect frame;
    
    frame = CGRectMake(boundsX+100, 0, 200, 56);
    returnCell.frame = frame;
    
    
}


- (void)dealloc
{
    [super dealloc];
}


@end